package com.gitee.demo.api.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :wm
 * @description : 测试controller
 */
@RestController
@RequestMapping("/v1/hello")
public class HelloController {

    @GetMapping("/hello-world")
    public String sayHello() {
        return "helloWorld";
    }

}
